package james.gan.rpc.protocol.yet;

import james.gan.remoting.api.Remoting;
import james.gan.remoting.netty.NettyRemoting;
import james.gan.rpc.protocol.api.Protocol;
import james.gan.serialization.api.Serialization;
import james.gan.serialization.gson.HessianSerialization;

public class YetProtocol implements Protocol{

	@Override
	public Class<? extends Serialization> getSerializationType() {
		return HessianSerialization.class;
	}

	@Override
	public Class<? extends Remoting> getRemotingType() {
		return NettyRemoting.class;
	}

}
